package com.ruoyi.tzzl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.tzzl.domain.WzOrder;
import com.ruoyi.tzzl.domain.dto.MonthDto;

/**
 * 订单Mapper接口
 * @author by caoyong
 * @date 2022/11/17
 **/
public interface  WzOrderMapper extends BaseMapper<WzOrder> {


    /**查看不同类型订单金额
     *type 订单类型(1-开通会员  2-聊天订单 3-视频订单 4-邀约订单)
     * */
   public Integer orderSum(Long type);

   /**
    * 查询当天成交额
    * */
   Integer toDays();

   /**查询每月新增用户*/
   MonthDto addingaUser(int years);

   /**每月新增付费会员*/
   MonthDto payMembers(int years);

   /**每月新增邀约订单*/
   MonthDto invitationOrder(int years);

   /**查询每月交易金额*/
   MonthDto tradingMoney(int years);

}
